]> dgit.raspbian.org Git - gnome-shell.git/commit
main: Use mallinfo2 when available at build time
authorRobert Mader <robert.mader@posteo.de>
Wed, 31 Mar 2021 23:08:12 +0000 (01:08 +0200)
committerMarge Bot <marge-bot@gnome.org>
Wed, 7 Jul 2021 14:44:30 +0000 (14:44 +0000)
commit3cfbb48f46ca96c968ed98a216595557faa2bf3a
tree1d075b8a36d060e4cf5ef51edf6768f1d49b6b36
parent757501b33aba194e0c674dbcb12e4f9e6959ad68
main: Use mallinfo2 when available at build time

`mallinfo` has been deprecated in favor of `mallinfo2`:
```
The fields of the mallinfo structure that is returned by the
older mallinfo() function are typed as int.  However, because
some internal bookkeeping values may be of type long, the
reported values may wrap around zero and thus be inaccurate.
```

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1786>
config.h.meson
meson.build
src/main.c
src/shell-global.c